package com.yqyd.nbot.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Accessors(chain = true)
public class JoinActDto {

    @NotBlank(message = "真实姓名不能为空")
    private String realName;

    @NotNull(message = "活动ID不能为空")
    private Long activityId;

    @NotBlank(message = "手机号不能为空")
    private String phone;

    @NotNull(message = "活动费用不能为空")
    private Integer amount;


}
